package com.hx.hospital.service;

import com.hx.common.exception.CustomerException;
import com.hx.hospital.pojo.User;


import java.util.Map;

public interface UserService {



    public Map<String,String>  login(String phone, String code) throws CustomerException;

    /**
     * 根据token查询用户信息
     * @param token
     * @return
     */
    public User queryUserByToken(String token) throws CustomerException;

    public Map<String, String> wxLogin( String code) throws CustomerException;


}
